﻿

<#include "/code/front/include/head.ftl" />

<#assign ownerInfo = dq.getDataByName('个人资料')!{} />
<#assign experience = dq.getDataByName('工作经历')![] />
<#assign education = dq.getDataByName('教育经历')![] />
<#assign skills = dq.getDataByName('工作技能')![] />
<#assign accountInfo = dq.getDataByName('社交账号')![] />
    <main class="main-aboutpage">

        <#include "/code/front/include/header.ftl">

        <!-- Credentials -->
        <section class="credential-area">
            <div class="container">
                <div class="gx-row d-flex">
                    <div class="credential-sidebar-wrap" data-aos="zoom-in">
                        <div class="credential-sidebar text-center">
                            <div class="shadow-box">
                                <img src="assets/images/bg1.png" alt="BG" class="bg-img">
                                <div class="img-box">
                                    <img src="${ownerInfo.avatar!}" alt="About Me">
                                </div>
                                <h2>${ownerInfo.owner_name!''}</h2>
                                <p>${ownerInfo.motto!''}</p>
        
                                <ul class="social-links d-flex justify-content-center">
                                    <#list accountInfo as acc>
                                        <li><a href="${acc.account!}"><i class="${acc.icon!}"></i></a></li>
                                    </#list>
<#--                                    <li><a href="#"><i class="iconoir-dribbble"></i></a></li>-->
<#--                                    <li><a href="#"><i class="iconoir-twitter"></i></a></li>-->
<#--                                    <li><a href="#"><i class="iconoir-instagram"></i></a></li>-->
<#--                                    <li><a href="#"><i class="iconoir-facebook-tag"></i></a></li>-->
                                </ul>
        
                                <a href="/contact" class="theme-btn">立即联系</a>
                            </div>
                        </div>
                    </div>

                    <div class="credential-content flex-1">
                        <div class="credential-about" data-aos="zoom-in">
                            <h2>${ownerInfo.name!}</h2>
                            <p>${ownerInfo.self_introduction!}</p>
                        </div>

                        <div class="credential-edc-exp credential-experience">

                            <h2 data-aos="fade-up">工作经历</h2>
                            <#list experience as exper>
                                <div class="credential-edc-exp-item" data-aos="zoom-in">
                                    <h4>${exper.start_time!} - ${exper.end_time!'至今'}</h4>
                                    <h3>${exper.responsibility!}</h3>
                                    <h5>${exper.company!}</h5>
                                    <p>${exper.detail!}</p>
                                </div>
                            </#list>
                        </div>

                        <div class="credential-edc-exp credential-education">
                            <h2 data-aos="fade-up">教育经历</h2>
                            <#list education as edu>
                                <div class="credential-edc-exp-item" data-aos="zoom-in">
                                    <h4>${edu.start_time!} - ${edu.end_time!'至今'}</h4>
                                    <h3>${edu.responsibility!}</h3>
                                    <h5>${edu.company!}</h5>
                                    <p>${edu.detail!}</p>
                                 </div>
                            </#list>
                        </div>

                        <div class="skills-wrap">
                            <h2 data-aos="fade-up">工作技能</h2>
                            <div class="d-grid skill-items gap-24 flex-wrap">
                               <#list skills as sk>
                                   <div class="skill-item" data-aos="zoom-in">
                                       <span class="percent">${sk.percentage!'--'}%</span>
                                       <h3 class="name">${sk.name!'--'}</h3>
                                       <p>${sk.detail!'--'}</p>
                                   </div>
                               </#list>
                            </div>
                        </div>

<#--                        <div class="skills-wrap awards-wrap">-->
<#--                            <h2 data-aos="fade-up">Awards</h2>-->
<#--                            <div class="d-grid skill-items gap-24 flex-wrap">-->
<#--                                <div class="skill-item" data-aos="zoom-in">-->
<#--                                    <span class="percent">14 May 2020</span>-->
<#--                                    <h3 class="name">Bluebase</h3>-->
<#--                                    <p>Non enim praesent</p>-->
<#--                                </div>-->
<#--                                <div class="skill-item" data-aos="zoom-in">-->
<#--                                    <span class="percent">26 June 2018</span>-->
<#--                                    <h3 class="name">Demble</h3>-->
<#--                                    <p>Non enim praesent</p>-->
<#--                                </div>-->

<#--                            </div>-->
<#--                        </div>-->
                    </div>
                </div>
            </div>
        </section>



        <#include "/code/front/include/footer.ftl" />

    </main>
    

</body>
</html>
